Skip to main content

ActionCardUserConsent

The ActionCardImage is used to add an image (jpg/png), SVG or a lottie to the card's body.

Usage#

<ActionCardUserConsent />

Props#

NameTypeDefaultDescription
checkedbooleanundefinedIs the switch button checked or not
textstring'Må vi gemme disse informationer, så du hurtigere kan klare andre udfordringer?'Text next to the switch button
onChangefunction (checked: boolean) => anyundefinedCallback function for when the switch is pressed with the new state sent as the argument